package com.woniu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.pojo.Pattern;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Ma.Lei
* @description 针对表【t_pattern】的数据库操作Mapper
* @createDate 2022-12-16 23:28:16
* @Entity generator.domain.Pattern
*/
public interface PatternMapper extends BaseMapper<Pattern> {

    @Select("select * from t_pattern WHERE road_id=#{roadId}")
    @ResultType(Pattern.class)
    List<Pattern> listRoadPattern(String roadId);
}




